package ooday01;

import java.util.Random;

public class StudentTest {
    public static void main(String[] args) {
        /*
        Student zs = new Student();
        zs.name = "张三";
        zs.stuId = "001";
        zs.className = "jsd2407";
        zs.age = 23;
        zs.study();
        zs.playWith("李四");
        zs.sayHi();
        Student ls = new Student();
        ls.name = "李四";
        ls.stuId = "002";
        ls.className = "jsd2407";
        ls.age = 33;
        ls.study();
        ls.playWith("张三");
        ls.sayHi();
        Student wu = new Student();
        String name = zs.name;
        wu.study();
        wu.playWith("李四");
        wu.sayHi();

         */
        /*
        Student zs = new Student();
        zs.name = "张三";
        zs.age = 18;
        zs.className = "jsd2407";
        zs.stuId = "0666";
        zs.study();
        zs.sayHi();
        zs.playWith("李四");
        Student ls = new Student();
        ls.name = "李四";
        ls.age = 45;
        ls.className = "jsd2407";
        ls.stuId = "0456";
        ls.study();
        ls.sayHi();
        ls.playWith("张三");
        Student wu = new Student();
        wu.name = "王五";
        wu.age = 31;
        wu.className = "jsd2407";
        wu.stuId = "0315";
        wu.study();
        wu.sayHi();
        wu.playWith("张三");

        Student zl = new Student("赵六",13 ,"jsd2407","0456");
        zl.study();
        zl.sayHi();
        zl.playWith("王五");
        Student we = new Student();
        we.study();
        we.sayHi();
        we.playWith("赵六");

         */
        Student zs = new Student();
        zs.name = "张三";
        zs.age = 13;
        zs.stuId = "456";
        zs.className = "2406";
        zs.study();
        zs.sayHi();
        zs.playWith("李四");
        Student ls = new Student();
        ls.name = "李四";
        ls.age = 456;
        ls.stuId = "356";
        ls.className = "2408";
        ls.study();
        ls.sayHi();
        ls.playWith("张三");
        Student wu = new Student();
        wu.name = "王五";
        wu.age = 56;
        wu.stuId = "147";
        wu.className = "456";
        wu.study();
        wu.sayHi();
        wu.playWith("赵六");
        Student zl = new Student("赵六",25,"456","2409");
        zl.study();
        zl.sayHi();
        zl.playWith("张三");
        Student lm = new Student();
        lm.study();
        lm.sayHi();
        lm.playWith("赵六");
    }
}
